<h2>Licenses</h2>

DPaint.js uses (parts of) the following packages:


<h3>StackBlur.js</h3>
MIT License - Copyright (c) 2010 Mario Klingemann<br>
<a href="https://github.com/flozz/StackBlur/">https://github.com/flozz/StackBlur/</a><br>

<h3>Dithering techniques based on PhotoDemon</h3>
Simplified BSD license - Copyright 2002-2023 by Tanner Helland<br>
<a href="https://github.com/tannerhelland/PhotoDemon/blob/main/Forms/Adjustments_BlackAndWhite.frm">https://github.com/tannerhelland/PhotoDemon/blob/main/Forms/Adjustments_BlackAndWhite.frm</a><br>
<a href="https://tannerhelland.com/2012/12/28/dithering-eleven-algorithms-source-code.html">https://tannerhelland.com/2012/12/28/dithering-eleven-algorithms-source-code.html</a><br>
<small class="dimmed">
<br>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
<br>
<br>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.</small><br>

<h3>Sharpen Algorithm</h3>
mikecao and jaredatdannyronsrescue<br>
<a href="https://gist.github.com/mikecao/65d9fc92dc7197cb8a7c?permalink_comment_id=4314200#gistcomment-4314200">https://gist.github.com/mikecao/65d9fc92dc7197cb8a7c?permalink_comment_id=4314200#gistcomment-4314200</a><br>

<h3>Image Scale Algorithm</h3>
MIT License - Copyright (c) 2017 Eugene Tiurin<br>
<a href="https://github.com/ytiurin/downscale/blob/master/src/downsample.js">https://github.com/ytiurin/downscale/blob/master/src/downsample.js</a><br>

<h3>RotSprite Algorithm for WebGL</h3>
MIT License - Copyright (c) 2022 Abdelrahman Adnan Lahrech<br>
<a href="https://github.com/adnanlah/rotsprite-webgl/tree/master">https://github.com/adnanlah/rotsprite-webgl/tree/master</a><br>

<h3>LZW Decoder <small>Used for decoding GIF files</small></h3>
MIT License - Copyright (c) 2015 Matt Way<br>
<a href="https://github.com/matt-way/gifuct-js/blob/master/src/lzw.js">https://github.com/matt-way/gifuct-js/blob/master/src/lzw.js</a><br>

<h3>FileSaver.js <small>(Used as fallback for older browsers)</small></h3>
MIT License - Copyright © 2016 Eli Grey<br>
<a href="https://github.com/eligrey/FileSaver.js">https://github.com/eligrey/FileSaver.js</a><br>
<br>


Additional Retro Platform palettes by Zeb Elwood
